//
//  main.m
//  counter
//
//  Created by apple on 15/8/3.
//  Copyright (c) 2015年 戴维营. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "counter.h"

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        
        
        counter *p = [counter new];
        
        NSLog(@"请输入两个整数");
        scanf("%d,%d",&p->_a,&p->_b);
        
        [p add];
        [p printCore];
        
        [p division];
        [p printCore];
        
        [p decrease];
        [p printCore];
        
        [p multiplication];
        [p printCore];
    }
    return 0;
}
